Platform Explorer / Nuxeo Platform LTS 2016 8.10

Component org.nuxeo.admin.audit.es.contentView.contrib

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.admin.audit.es.contentView.contrib">

  <require>org.nuxeo.admin.pageproviders</require>
  
  <extension target="org.nuxeo.ecm.platform.query.api.PageProviderService"
    point="providers">

      <genericPageProvider name="EVENTS_VIEW" class="org.nuxeo.elasticsearch.audit.pageprovider.ESAuditPageProvider">
        <property name="coreSession">#{documentManager}</property>
        <property name="generateUIComments">false</property>
        <whereClause docType="BasicAuditSearch">
          <predicate parameter="eventDate" operator="BETWEEN">
            <field schema="basicauditsearch" name="startDate" />
            <field schema="basicauditsearch" name="endDate" />
          </predicate>
          <predicate parameter="category" operator="=">
            <field schema="basicauditsearch" name="eventCategory" />
          </predicate>
          <predicate parameter="eventId" operator="IN">
            <field schema="basicauditsearch" name="eventIds" />
          </predicate>
          <predicate parameter="principalName" operator="=">
            <field schema="basicauditsearch" name="principalName" />
          </predicate>
        </whereClause>
        <sort column="eventDate" ascending="false" />
        <pageSize>10</pageSize>
        <maxPageSize>1000</maxPageSize>
      </genericPageProvider>

  </extension>

</component>